@foreach($list as $item)
    <li class="list-group-item d-flex flex-row align-items-center">
        <div class="flex-grow-1">
            <i class="block-span block-span-{{count($item['parent_ids'])*25}}"></i>
            <span class="hcl hcl-square-add"></span>{{$item['title']}}
        </div>
        <div class=" ml-auto">
            <a href="{{route('b_ArticleCat_addCat',['parent_id'=>$item['id']])}}"
               class="btn btn-primary btn-sm"
               data-params='{"area":"80%,80%","title":"添加文章分类"}'
            >
                <i class="hcl hcl-add-page"></i>
            </a>
            <a href="{{route('b_ArticleCat_editCat',['id'=>$item['id']])}}"
               class="btn btn-info btn-sm modal-box"
               data-params='{"area":"80%,80%","title":"修改分类"}'
            >
                <i class="hcl hcl-edit1"></i>
            </a>
            <button class="btn btn-danger btn-sm btn-ajax"
                    data-params='{"confirm":true,"url":"{{route('b_ArticleCat_delCat',['id'=>$item['id']])}}"}'
            > <i class="hcl hcl-remove"></i></button>
        </div>
    </li>
    @if(isset($item['_child']))
        @include('backend::cms.article.cat_children',['list'=>$item['_child']])
    @endif
@endforeach